//
//  findWordViewController.m
//  spotrs
//
//  Created by xu on 16/5/12.
//  Copyright © 2016年 TZ. All rights reserved.
//

#import "findWordViewController.h"

@interface findWordViewController ()
{
    UITextField *telephone;
    UITextField *captcha;
    UITextField *passWord;
    UITextField *truePassWord;
}
@end

@implementation findWordViewController

- (void)viewDidLoad {
    self.isHiddenNavagitiong = NO;
    [super viewDidLoad];
    self.titleText = @"找回密码";
    [self.view setBackgroundColor:[UIColor whiteColor]];
    [self theTopBackAddLiftButton];
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] init];
    [tap addTarget:self action:@selector(hiddonBoard)];
    [self.view addGestureRecognizer:tap];
    
    telephone = [[UITextField alloc] initWithFrame:CGRectMake(20, 80, SCREEN_WIDTH-40, 40)];
    telephone.layer.borderWidth = 1;
    telephone.layer.borderColor = RGBCOLOR(219, 221, 221).CGColor;
    telephone.layer.masksToBounds = YES;
    telephone.layer.cornerRadius = 3;
    [telephone setPlaceholder:@"  请输入你的手机号"];
    [self.view addSubview:telephone];
    
    captcha = [[UITextField alloc] initWithFrame:CGRectMake(20, 140, SCREEN_WIDTH-40-90, 40)];
    [captcha setPlaceholder:@"  请出入短信验证码"];
    captcha.layer.borderWidth = 1;
    captcha.layer.borderColor = RGBCOLOR(219, 221, 221).CGColor;
    captcha.layer.masksToBounds = YES;
    captcha.layer.cornerRadius = 3;
    [self.view addSubview:captcha  ];
    
    passWord = [[UITextField alloc] initWithFrame:CGRectMake(20, 200, SCREEN_WIDTH-40, 40)];
    [passWord setPlaceholder:@"  请设置密码"];
    passWord.layer.borderWidth = 1;
    passWord.layer.borderColor = RGBCOLOR(219, 221, 221).CGColor;
    passWord.layer.masksToBounds = YES;
    passWord.layer.cornerRadius = 3;
    [self.view addSubview:passWord];
    
    truePassWord = [[UITextField alloc] initWithFrame:CGRectMake(20, 260, SCREEN_WIDTH-40, 40)];
    [truePassWord setPlaceholder:@"  请确认密码"];
    truePassWord.layer.borderWidth = 1;
    truePassWord.layer.borderColor = RGBCOLOR(219, 221, 221).CGColor;
    truePassWord.layer.masksToBounds = YES;
    truePassWord.layer.cornerRadius = 3;
    [self.view addSubview:truePassWord];
    [self creatTopNavagaiong];
    [self liftGoBackImage];
    
}
-(void)hiddonBoard
{
    [telephone resignFirstResponder];
    [captcha resignFirstResponder];
    [passWord resignFirstResponder];
    [truePassWord resignFirstResponder];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
